_cntDwn = 30;

if (_cntDwn > 5) then {
_cntDwn = 0;
};
if (_cntDwn = 30) then {
_displayCount = -1;

_c = 5; // Seconds to Display for

//Display for _c Seconds
while {(_displayCount) < (_c)} do {
[] execVM "teamspeak/warning.sqf";
_displayCount = _displayCount + 1;
_cntDwn = _cntDwn - 6;
sleep 0.5;
};
};

while (_cntDwn != 30) do {
_cntDwn = _cntDwn + 1;
sleep 60;
}